home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / shell / trash-1.000 / trash-1 / trash-1.0 / README < prev    next >
Encoding:
Text File  |  1995-01-25  |  1.6 KB  |  59 lines

  1. # README -- description of `trash' package
  2. # created 25-Jan-1995 jmk
  3. # autodate: 25-Jan-1995
  4. # autotime: 02:42
  5.  
  6. DESCRIPTION
  7.  
  8. `trash' provides a simple trashcan facility for the shell command
  9. line.  `trash' ``deletes'' files by moving them to a ``trashcan''
  10. directory, which defaults to `$HOME/.trash'.  `trash' can manage a
  11. user's trashcan with `--view' and `--empty' commands.
  12.  
  13.  
  14. INSTALLATION
  15.  
  16. You can install `trash' as an executable shell script with the
  17. supplied Makefile; just edit to set directories, &c. as appropriate
  18. for your system, become the superuser, and do
  19.  
  20.         make install
  21.     make install.man
  22.  
  23. that's all there is to it!
  24.  
  25.  
  26. COMMENTS
  27.  
  28. It is recommended to alias trash to the command normally used for
  29. deleting files, and to realias that command to a different (and harder
  30. to type) one, e.g. (using bash):
  31.  
  32.        alias rm="trash"
  33.        alias remove="/bin/rm"
  34.  
  35. Used this way, trash allows the user to easily un-delete a file that
  36. might have been inadvertently deleted (for example, when mistyping
  37. `rm *~' as `rm *'.
  38.  
  39.  
  40. LIMITATIONS
  41.  
  42. --Does not work well for directories or symbolic links on a different
  43.   filesystem from the trashcan directory.
  44.  
  45. --Does not provide a facility to prompt the user when emptying the
  46.   trash (coming soon?).
  47.  
  48. --Cannot trash files recursively (like `rm -r').
  49.  
  50.  
  51. COPYRIGHT
  52.  
  53. `trash' is written and maintained by Jim Knoble
  54. <jmknoble@mercury.interpath.net>.  `trash' is copyright 1995 by Jim
  55. Knoble; you may freely distribute and modify it, but the original code
  56. must bear my name.  Any modifications that you introduce must bear
  57. your name and must not bear mine.
  58.  
  59.